package com.bearhy.jqadmin.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "sys_role")
public class SysRole {
    @Id
    @Column(name = "role_id")
    private Integer roleId;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "role_remark")
    private String roleRemark;

    @Column(name = "role_code")
    private String roleCode;

    @Column(name = "role_create_date")
    private Date roleCreateDate;

    @Column(name = "role_menu_ids")
    private String roleMenuIds;

    /**
     * 是否禁用  1、否  2、是
     */
    @Column(name = "role_is_disable")
    private Integer roleIsDisable;

    /**
     * @return role_id
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    /**
     * @return role_name
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * @param roleName
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /**
     * @return role_remark
     */
    public String getRoleRemark() {
        return roleRemark;
    }

    /**
     * @param roleRemark
     */
    public void setRoleRemark(String roleRemark) {
        this.roleRemark = roleRemark;
    }

    /**
     * @return role_code
     */
    public String getRoleCode() {
        return roleCode;
    }

    /**
     * @param roleCode
     */
    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    /**
     * @return role_create_date
     */
    public Date getRoleCreateDate() {
        return roleCreateDate;
    }

    /**
     * @param roleCreateDate
     */
    public void setRoleCreateDate(Date roleCreateDate) {
        this.roleCreateDate = roleCreateDate;
    }

    /**
     * @return role_menu_ids
     */
    public String getRoleMenuIds() {
        return roleMenuIds;
    }

    /**
     * @param roleMenuIds
     */
    public void setRoleMenuIds(String roleMenuIds) {
        this.roleMenuIds = roleMenuIds;
    }

    /**
     * 获取是否禁用  1、否  2、是
     *
     * @return role_is_disable - 是否禁用  1、否  2、是
     */
    public Integer getRoleIsDisable() {
        return roleIsDisable;
    }

    /**
     * 设置是否禁用  1、否  2、是
     *
     * @param roleIsDisable 是否禁用  1、否  2、是
     */
    public void setRoleIsDisable(Integer roleIsDisable) {
        this.roleIsDisable = roleIsDisable;
    }
}